package day2018_lab02.test07;

import java.util.Scanner;

public class Test07 {
    public static void main(String[] args) {
        Person person = new Person();
        System.out.println("输入信息");
        Scanner sc = new Scanner(System.in);
        person.name= sc.nextLine();
        person.age= sc.nextInt();
        Scanner sc1 = new Scanner(System.in);
        person.idnumble= sc1.next();
        System.out.println(person.toString());



        Student student = new Student();
        student.school= "nankai";
        student.sno = "1606101038";
        System.out.println(student.toString());
    }
}
